<include file="Public:header"/>
<body class="J_scroll_fixed">
<div class="wrap J_check_wrap">
    <include file="Public:nav"/>
    <form name="myform" action="{:U('TryCategory/index')}" method="post" class="J_ajaxForm">
    <div class="table_list">
        <table width="100%">
            <colgroup>
                <col width="100">
                <col width="50">
                <col width="100">
                <col>
                <col width="300">
            </colgroup>
            <thead>
            <tr>
                <td align='center'>排序</td>
                <td align="center">审核</td>
                <td align='center'>栏目ID</td>
                <td>栏目名称</td>
                <td align='center'>管理操作</td>
            </tr>
            </thead>
            <foreach name="categorys" item="vo" key="key">
            <tr>
                    <td align="center"><input name='sort[{$key+1}]' type='text' size='3' value='{$vo.sort}' class='input'></td>
                    <td align="center">{$vo.status|showStatus}</td>
                    <td align='center'>{$vo.cateid}</td>
                    <td>{$vo.catename}</td>
                    <td align="center"><a href="{:U('TryCategory/edit', array('cateid' => $vo['cateid']))}">修改</a> | <a class="J_ajax_del" data-msg="确定删除该栏目及栏目下的信息吗?" href="{:U('TryCategory/delete', array('cateid' => $vo['cateid']))}">删除</a></td>
            </tr>
            </foreach>

        </table>
        <div class="p10"><div class="pages"> {$Page} </div> </div>
        <div class="btn_wrap">
            <div class="btn_wrap_pd">
                <button class="btn btn_submit mr10 J_ajax_submit_btn" type="submit">排序</button>
            </div>
        </div>
    </div>
</div>
</form>
</div>
<script src="__JS__/common.js"></script>
</body>
</html>